/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.web.entity;

import java.util.List;

/**
 *
 * @author 17612
 */
public class Student {
    private String Sid;
    private String Sname;
    private String Spwd;
    private String Sgender;
    private String ClassID;
    private String CourseName;
    private String Grade;
    private List<Student> studentList;
    public Student(String Sid, String Sname, String Spwd, String Sgender, String ClassID){
        this.Sid = Sid;
        this.Sname = Sname;
        this.Spwd = Spwd;
        this.Sgender = Sgender;
        this.ClassID = ClassID;
    }
   
    public Student(String Sid, String Sname, String Sgender, String ClassID){
        this.Sid = Sid;
        this.Sname = Sname;
        this.Sgender = Sgender;
        this.ClassID = ClassID;
    }
    
    public Student(String Sid,String Spwd){
        this.Sid = Sid;
        this.Spwd = Spwd;
    }
    
    public Student(String Spwd){
        this.Spwd = Spwd;
    }
    
    public Student(){
    }

    
    public String getSid() {
        return Sid;
    }

    public void setSid(String Sid) {
        this.Sid = Sid;
    }

    public String getSname() {
        return Sname;
    }

    public void setSname(String Sname) {
        this.Sname = Sname;
    }

    public String getSpwd() {
        return Spwd;
    }

    public void setSpwd(String Spwd) {
        this.Spwd = Spwd;
    }

    public String getSgender() {
        return Sgender;
    }

    public void setSgender(String Sgender) {
        this.Sgender = Sgender;
    }

    
    
    public String getClassID(){
        return ClassID;
    }
    
    public void setClassID(String ClassID){
        this.ClassID = ClassID;
    }

    public String getCourseName() {
        return CourseName;
    }

    public void setCourseName(String CourseName) {
        this.CourseName = CourseName;
    }

    public String getGrade() {
        return Grade;
    }

    public void setGrade(String Grade) {
        this.Grade = Grade;
    }

    public List<Student> getStudentList() {
        return studentList;
    }

    public void setStudentList(List<Student> studentList) {
        this.studentList = studentList;
    }
    

    @Override
    public String toString() {
        return "Student{" + "Sid=" + Sid + ", Sname=" + Sname + ", Spwd=" + Spwd + ", Sgender=" + Sgender + ",  ClassID=" + ClassID + '}';
    }
}
